package com.city.service.city.impl;

import com.city.domain.city.CityEventSrcname;
import com.city.repository.city.CityEventSrcnameRepository;
import com.city.service.city.CityEventSrcnameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @deprecation: 案件上报方式
 * @dmail: 398521613@qq.com
 * @author: L-H
 * @date: 2018-07-18 13:14
 */
@Service
public class CityEventSrcnameServiceImpl implements CityEventSrcnameService {

    @Autowired
    private CityEventSrcnameRepository eventSrcnameRepository;

    @Override
    public List<CityEventSrcname> getAll() {
        return eventSrcnameRepository.getAll();
    }
}
